import Vue from "vue";
import App from "./App.vue";
import "./utils/rem";
import store from "./store";
import router from "./router";
// import "amfe-flexible"
import 'vant/lib/index.css'
import Vant, { Lazyload } from "vant";
import VConsole from "vconsole";

if (process.env.NODE_ENV == "development") { //判断环境为开发，才使用VConsole
  // const Console = new VConsole();
}

Vue.use(Vant);
Vue.use(Lazyload);

Vue.config.productionTip = false; //去掉生产提示

new Vue({
  store,
  router,
  render: (h) => h(App),
}).$mount("#app");
